MoveCategory

@Serializable
data class MoveCategory(val id: Int, val name: String, val moves: List<Handle.Named<Move>>, val descriptions: List<Description>) : NamedModel(source)

Very general categories that loosely group move effects. See: https://pokeapi.co/docs/v2#move-categories

Parameters

id

The identifier for this resource.

name

The name for this resource.

moves

A list of moves that fall into this category.

descriptions

The description of this resource listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, moves: List<Handle.Named<Move>>, descriptions: List<Description>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String